<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <div @click.capture="handleCaptureClick">
            <button @click="handleClick">捕获模式</button>
        </div>
    </div>
</body>
<script src="https://cn.vuejs.org/js/vue.js"></script>
<script>
    let vm = new Vue({
        el:"#app",
        methods:{
            handleCaptureClick:function(){
                console.log("handleCaptureClick","被触发了");
            },
            handleClick:function(e){
                // console.log(e);
                // 执行捕获阶段
                // e.capture()
                console.log("handleClick","被触发了");
            }
        }
    });
</script>
</html>